﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="SFTJ.aspx.cs" Inherits="WXYW.SFTJ" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitlePlaceHolder" runat="server">
    收费统计
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ButtonPlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="RightContentPlaceHolder" runat="server">
    <table>
        <tr>
            <td>
                年
            </td>
            <td>
                <asp:DropDownList ID="yearDropDownList" runat="server">
                </asp:DropDownList>
            </td>
            <td>
                月
            </td>
            <td>
                <asp:DropDownList ID="monthDropDownList" runat="server">
                </asp:DropDownList>
            </td>
            <td>
                平台
            </td>
            <td>
                <asp:DropDownList ID="serviceStationDropDownList" runat="server">
                </asp:DropDownList>
            </td>
            <td>
                <asp:Button ID="searchButton" runat="server" Text="查询" OnClick="searchButton_Click" />
            </td>
            <td>
                神码数码客服中心<asp:Label ID="servicestationLabel" runat="server" Text="Label"></asp:Label><asp:Label ID="yearLabel" runat="server" Text=""></asp:Label>年<asp:Label
                    ID="monthLabel" runat="server" Text=""></asp:Label>月维修收费清单
            </td>
        </tr>
        <tr>
            <td colspan="8">
                <asp:GridView ID="productGridView" runat="server" Width="100%" EmptyDataText="没有您要的记录" AutoGenerateColumns="false">
                    <Columns>
                        <asp:TemplateField HeaderText="RMA#">
                            <ItemTemplate>
                                <%#Eval("ApplicationForm.ApplicationCode") %>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="产品型号">
                            <ItemTemplate>
                                <%#Eval("ProductType.ProductTypeName")%>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:BoundField HeaderText="维修部件" DataField="RepairAccessory" />
                        <asp:BoundField HeaderText="收费金额" DataField="Cost" />
                        <asp:BoundField HeaderText="收费原因" DataField="ReasonOfCost" />
                        <asp:TemplateField HeaderText="查看详情">
                            <ItemTemplate>
                                <img src="image/operateicon/docview.gif" />
                                <asp:LinkButton ID="viewLinkButton" runat="server" OnClick="viewLinkButton_Click" CommandArgument='<%#Eval("ApplicationProductID") %>'>查看</asp:LinkButton>
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                </asp:GridView>
            </td>
        </tr>
        <tr>
            <td colspan="8">
                <table>
                    <tr>
                        <td>
                            总计
                        </td>
                        <td>
                            <asp:Label ID="totalLabel" runat="server" Text="0"></asp:Label>
                        </td>
                        <td>
                            应收
                        </td>
                        <td>
                            <asp:Label ID="shouldLabel" runat="server" Text="0"></asp:Label>
                        </td>
                        <td>
                            实收
                        </td>
                        <td>
                            <asp:Label ID="realLabel" runat="server" Text="0"></asp:Label>
                        </td>
                        <td>
                            本月小计
                        </td>
                        <td>
                            <asp:Label ID="resultLabel" runat="server" Text="0"></asp:Label>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    <asp:HiddenField ID="hfProductID" runat="server" />
    <%--for maintain record--%>
    <cc1:ModalPopupExtender ID="maintainRecordModalPopupExtender" runat="server" PopupControlID="maintainPanel"
        BackgroundCssClass="modalBackground" TargetControlID="hiddenTargetControlForModalPopup" CancelControlID="LinkButton1">
    </cc1:ModalPopupExtender>
    <asp:Panel ID="maintainPanel" Style="display: none" BackImageUrl="~/image/mainSkinBG.gif"
        CssClass="modalPopup" runat="server">
        <table border="0" cellspacing="0" cellpadding="0" width="100%">
            <tr style="padding: 0px; margin: 0px; border: 0px;">
                <td class="edgingTop">
                    <%--<img src="image/edgingLableTop.gif" />--%>
                </td>
                <td class="edgingLabelBg" width="22" style="padding: 0px; margin: 0px;">
                    <img src="image/edgingLable_left.gif" alt="" />
                </td>
                <td class="edgingLabelBg" style="padding: 0px; margin: 0px;">
                    <table border="0" cellspacing="0" cellpadding="0" width="100%">
                        <tr style="padding: 0px; margin: 0px; border: 0px;">
                            <td class="edgingLabel" align="center" style="padding: 0px; margin: 0px;">
                                维修记录-->RMA maintain records
                            </td>
                            <td class="edgingLabel" align="center" style="padding: 0px; margin: 0px;">
                                <table align="right" border="0" cellspacing="0" cellpadding="0">
                                    <tr style="padding: 0px; margin: 0px; border: 0px;">
                                        <td style="padding: 0px; margin: 0px;">
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                </td>
                <td class="edgingLabelBg" width="11" style="padding: 0px; margin: 0px;">
                    <img src="image/edgingLable_right.gif" alt="" />
                </td>
            </tr>
        </table>
        <table class="edgingTable_1" border="0" cellspacing="0" cellpadding="0" width="100%">
            <tr>
                <td class="edgingTd_1">
                    <table width="100%" class="edgingTable_2">
                        <tr>
                            <td>
                                <div class="buttonHeader" align="right">
                                    <img src="image/operateicon/docdelete.gif" />
                                    <asp:LinkButton ID="LinkButton1" runat="server">关闭</asp:LinkButton>                                    
                                </div>
                                <cc1:TabContainer ID="TabContainer1" runat="server" ActiveTabIndex="0">
                                    <cc1:TabPanel ID="tabPanel1" runat="server">
                                        <HeaderTemplate>
                                            基本信息
                                        </HeaderTemplate>
                                        <ContentTemplate>
                                            <table>
                                                <tr>
                                                    <td>
                                                        RMA单号
                                                    </td>
                                                    <td>
                                                        <asp:Label ID="rmaMaintainLabel" runat="server" Text=""></asp:Label>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>
                                                        产品型号
                                                    </td>
                                                    <td>
                                                        <asp:Label ID="typeLabel" runat="server" Text=""></asp:Label>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>
                                                        产品序号
                                                    </td>
                                                    <td>
                                                        <asp:Label ID="serialLabel" runat="server" Text=""></asp:Label>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>
                                                        维修完成日期
                                                    </td>
                                                    <td>
                                                        <asp:Label ID="wxwcrqLabel" runat="server" Text="Label"></asp:Label>
                                                    </td>
                                                </tr>
                                            </table>
                                        </ContentTemplate>
                                    </cc1:TabPanel>
                                    <cc1:TabPanel ID="tabPanel2" runat="server">
                                        <HeaderTemplate>
                                            不良现象
                                        </HeaderTemplate>
                                        <ContentTemplate>
                                            <asp:TextBox ID="blxxTextBox" runat="server" Width="80%" TextMode="MultiLine"></asp:TextBox>
                                        </ContentTemplate>
                                    </cc1:TabPanel>
                                    <cc1:TabPanel ID="tabPanel3" runat="server">
                                        <HeaderTemplate>
                                            不良原因
                                        </HeaderTemplate>
                                        <ContentTemplate>
                                            <asp:DropDownList ID="blyyDropDownList" runat="server">
                                                <asp:ListItem Text="T05" Value="T05"></asp:ListItem>
                                                <asp:ListItem Text="P08" Value="P08"></asp:ListItem>
                                                <asp:ListItem Text="C12" Value="C12"></asp:ListItem>
                                                <asp:ListItem Text="其它" Value="其它"></asp:ListItem>
                                            </asp:DropDownList>
                                        </ContentTemplate>
                                    </cc1:TabPanel>
                                    <cc1:TabPanel ID="tabPanel4" runat="server">
                                        <HeaderTemplate>
                                            不良零件
                                        </HeaderTemplate>
                                        <ContentTemplate>
                                            <asp:TextBox ID="blljTextBox" runat="server" Width="80%"></asp:TextBox>
                                        </ContentTemplate>
                                    </cc1:TabPanel>
                                    <cc1:TabPanel ID="tabPanel5" runat="server">
                                        <HeaderTemplate>
                                            零件位置
                                        </HeaderTemplate>
                                        <ContentTemplate>
                                            <asp:TextBox ID="ljwzTextBox" runat="server" Width="80%"></asp:TextBox>
                                        </ContentTemplate>
                                    </cc1:TabPanel>
                                    <cc1:TabPanel ID="tabPanel6" runat="server">
                                        <HeaderTemplate>
                                            整机替换
                                        </HeaderTemplate>
                                        <ContentTemplate>
                                            <asp:RadioButton ID="ghRadioButton" runat="server" Text="更换" GroupName="replace" />
                                            <asp:RadioButton ID="thRadioButton" runat="server" Text="替换" GroupName="replace" />
                                            <asp:TextBox ID="thSerialNumberTextBox" runat="server"></asp:TextBox>
                                        </ContentTemplate>
                                    </cc1:TabPanel>
                                    <cc1:TabPanel ID="TabPanel7" runat="server">
                                        <HeaderTemplate>
                                            故障分析
                                        </HeaderTemplate>
                                        <ContentTemplate>
                                            类别注释：A:芯片故障 B:电源故障 C:升级F/WD D:RestestOK E:其它原因(如需详细说明请在 备注 选项卡填写)
                                            <table border="0">
                                                <tr>
                                                    <td>
                                                        A:
                                                    </td>
                                                    <td>
                                                        <asp:RadioButton ID="RadioButton1" runat="server" GroupName="a" Text="有缺陷" />
                                                    </td>
                                                    <td>
                                                        <asp:RadioButton ID="RadioButton2" runat="server" GroupName="a" Text="正常损坏" />
                                                    </td>
                                                    <td>
                                                        <asp:RadioButton ID="RadioButton3" runat="server" GroupName="a" Text="使用不当" />
                                                    </td>
                                                    <td>
                                                        <asp:RadioButton ID="RadioButton4" runat="server" GroupName="a" Text="非人为(不可抗力等)" />
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>
                                                        B:
                                                    </td>
                                                    <td>
                                                        <asp:RadioButton ID="RadioButton5" runat="server" GroupName="b" Text="环境不适" />
                                                    </td>
                                                    <td>
                                                        <asp:RadioButton ID="RadioButton6" runat="server" GroupName="b" Text="操作不当" />
                                                    </td>
                                                    <td>
                                                        <asp:RadioButton ID="RadioButton7" runat="server" GroupName="b" Text="正常损坏" />
                                                    </td>
                                                    <td>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>
                                                        C:
                                                    </td>
                                                    <td>
                                                        <asp:RadioButton ID="RadioButton8" runat="server" GroupName="c" Text="固件Bug" />
                                                    </td>
                                                    <td>
                                                        <asp:RadioButton ID="RadioButton9" runat="server" GroupName="c" Text="正常升级" />
                                                    </td>
                                                    <td>
                                                    </td>
                                                    <td>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>
                                                        D:
                                                    </td>
                                                    <td>
                                                        <asp:RadioButton ID="RadioButton10" runat="server" GroupName="d" Text="RestestOK" />
                                                    </td>
                                                    <td>
                                                    </td>
                                                    <td>
                                                    </td>
                                                    <td>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>
                                                        E:
                                                    </td>
                                                    <td>
                                                        <asp:RadioButton ID="RadioButton11" runat="server" Text="其它原因" />
                                                    </td>
                                                    <td>
                                                    </td>
                                                    <td>
                                                    </td>
                                                    <td>
                                                    </td>
                                                </tr>
                                            </table>
                                        </ContentTemplate>
                                    </cc1:TabPanel>
                                    <cc1:TabPanel ID="TabPanel8" runat="server">
                                        <HeaderTemplate>
                                            维修报价
                                        </HeaderTemplate>
                                        <ContentTemplate>
                                            <asp:Label ID="bjLabel" runat="server" Text=""></asp:Label>
                                        </ContentTemplate>
                                    </cc1:TabPanel>
                                    <cc1:TabPanel ID="TabPanel9" runat="server">
                                        <HeaderTemplate>
                                            维修备注
                                        </HeaderTemplate>
                                        <ContentTemplate>
                                            <asp:TextBox ID="bzTextBox" runat="server" TextMode="MultiLine" Width="80%"></asp:TextBox>
                                        </ContentTemplate>
                                    </cc1:TabPanel>
                                </cc1:TabContainer>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </asp:Panel>
    <asp:Button runat="server" ID="hiddenTargetControlForModalPopup" Style="display: none" />
</asp:Content>
